import React from 'react';
import { Story, Meta } from '@storybook/react';
import {Welcome, WelcomeProps} from './Welcome';

export default {
    title: 'Welcome',
    component: Welcome,
    argTypes: {
        name: '孙畅'
    },
} as Meta;

const Template: Story<WelcomeProps> = args => <Welcome {...args} />

export const Normal = Template.bind({});
Normal.args = {
    name: '大保健'
};